package com.example.gmallproduct.dao;

import com.example.gmallproduct.entity.SpuInfoEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * spu信息
 *
 * @author WDL
 * @email 2329156214@QQ.com
 * @date 2022-05-01 14:45:09
 */
@Mapper
public interface SpuInfoDao extends BaseMapper<SpuInfoEntity> {

    void updatePublishState(@Param("spuId") Long spuId, @Param("state") Integer state);
}
